<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<script type="text/javascript">
	$(function() {
		$("#updateDirectorBtn").click(function() {
			if(confirm("수정하시겠습니까?")==false){
				return;
			}
			$("#directorUpdateForm").submit();
		});
	});//ready	
</script>
<h3>감독 - 수정</h3>
<hr align="left" width="150">
<center>
<form action="${initParam.root}admin/director_update.do" enctype="multipart/form-data" method="post" id="directorUpdateForm">
<input type="hidden" name="directorImgPath" value="${requestScope.directorVO.directorImgPath }">
<table class="inputForm">
	<tr>
		<td>감독 번호</td><td><input type=text name=directorNo value=${requestScope.directorVO.directorNo } readonly></input></td>
	</tr>
	<tr>
		<td>현재 이미지</td><td><img src="${initParam.root }${requestScope.directorVO.directorImgPath }" width="200" height="120"></td>
	</tr>
	<tr>
		<td>이미지 변경</td><td><input type="file" name="uploadFile" value="${requestScope.directorVO.directorImgPath }"></td>
	</tr>
	<tr>
		<td>
			감독이름</td><td><input type=text name=name value="${requestScope.directorVO.name }"></input>
		</td>
	</tr>
	<tr>
		<td valign="middle" colspan="2" align="center"><img id="updateDirectorBtn" src="${initParam.root}/img/modify_btn.jpg"></td>
	</tr>
</table>
</form>
</center>